package org.qqcui.designpattern.patterns.interpreter;

import java.util.Map;

/**
 * 符号表达式的父类，将左右两侧的数据进行运算操作
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022/5/7 11:02
 **/
public class SymbolExpression extends Expression {

    protected Expression left;

    protected Expression right;

    public SymbolExpression(Expression left, Expression right) {
        this.left = left;
        this.right = right;
    }

    @Override
    public int interpreter(Map<String, Integer> var) {
        return 0;
    }
}
